@import 'bulma/bulma.sass';
@import 'bulma-checkradio/dist/css/bulma-checkradio.min.css';

:root,
footer,
.header,
.modal-background,
.modal-slot,
.options-header {
  background-color: $white-ter;
}

:root[data-theme="dark"],
:root[data-theme="dark"] footer,
:root[data-theme="dark"] .header,
:root[data-theme="dark"] .modal-background,
:root[data-theme="dark"] .modal-slot,
:root[data-theme="dark"] .options-header {
  background-color: $black-ter;
}

:root[data-theme="dark"] .about-debug {
  background-color: $black-bis;
}

a:hover {
  color: hsl(204, 86%, 53%);
}

#app {
  min-height: 100vh;
}
@supports (padding-top: env(safe-area-inset-top)) {
  #app {
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-left);
  }
}

@supports (padding-top: constant(safe-area-inset-top)) {
  #app {
    padding: constant(safe-area-inset-top) constant(safe-area-inset-right) constant(safe-area-inset-left);
  }
}

.main-section {
  padding: 1.5rem 1rem 9rem 1rem;
}

@media screen and (max-width: 768px) {
  .main-section {
    padding-top: 0.75rem;
  }
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  padding-top: 1rem;
  padding-bottom: 1rem;
  width: 100%;
  z-index: 1000;
}

@supports (padding-top: env(safe-area-inset-top)) {
  .header {
    --safe-area-inset-top: env(safe-area-inset-top);
    padding-top: calc(1rem + var(--safe-area-inset-top));
  }
}

@supports (padding-top: constant(safe-area-inset-top)) {
  .header {
    --safe-area-inset-top: constant(safe-area-inset-top);
    padding-top: calc(1rem + var(--safe-area-inset-top));
  }
}

.toolbar button {
  background-color: $white-ter;
}

:root[data-theme="dark"] .toolbar button {
  background-color: $black-ter;
}

.toolbar button.delete {
  background-color: $grey;
}
.toolbar button.delete::before, .toolbar button.delete::after {
  background-color: $white;
}
.toolbar button.delete:hover, .toolbar button.delete:focus {
  background-color: $grey;
}
:root[data-theme="dark"] .toolbar button.delete::before, :root[data-theme="dark"] .toolbar button.delete::after {
  background-color: $white;
}
:root[data-theme="dark"] .toolbar button.delete:hover, :root[data-theme="dark"] .toolbar button.delete:focus {
  background-color: rgba(10, 10, 10, 0.3);
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="dark"] .toolbar button.delete::before, :root[data-theme="dark"] .toolbar button.delete::after {
    background-color: $white;
  }
}

.modal-otp {
  z-index: 2000;
}

@media screen and (max-height: 700px) {
  .modal-with-footer {
    margin-bottom: 9rem;
    max-height: none !important;
  }
}

.otp:focus-visible {
  outline-offset: 3px;
  outline: 2px dotted $dark;
  border-radius: $radius-large;
}

.otp:focus:not(:focus-visible) {
  outline: none;
}

// has-text-weight-semibold / $weight-semibold
.group-item, .list-item {
  border-bottom: 1px solid $grey-lighter;
  padding: 0.75rem;
}
:root[data-theme="dark"] .group-item,
:root[data-theme="dark"] .list-item {
  border-color: $grey-darker;
  color: $light;
}
:root[data-theme="dark"] .list-item {
  color: $grey-lighter;
}

.group-item:first-of-type {
  margin-top: 2.5rem;
}

.group-item span {
  display: block;
}

.accounts {
  margin-top: 75px;
}

.groups {
  margin-top: 110px;
}

.group-selector {
  margin-top: 55px;
}

.group-item .tags:not(:last-child) {
  margin-bottom: inherit;
}

@media screen and (min-width: 769px) {
  .accounts {
    margin-top: 99px;
  }
}

.search {
  margin-bottom: 0 !important;
}

.manage-buttons {
  justify-content: center;
}

.form-column {
  padding-top: 3rem;
}

.form-column>div.nav-links {
  padding-top: 1.5rem;
}

.form-column>div.nav-links p {
  margin-bottom: 0.25rem;
  padding-top: 0.25rem;
}

.pull-down-header {
  background-color: $grey-darker !important;
}

img.qrcode {
  max-width: 320px;
}
@media screen and (max-height: 500px) {
  img.qrcode {
    max-height: 50vh;
  }
}

.tfa-grid {
  border-radius: 6px;
  text-align: center;
  background-color: $white;
  padding: 0.75rem 3rem;
  margin: 0.5rem;
}
:root[data-theme="dark"] .tfa-grid {
  background-color: hsl(0, 0%, 10%);
}

.tfa-list {
  text-align: inherit;
  border-bottom: 1px solid $grey-lighter;
  margin: 0 1%;
  padding: 0.5rem 0.5rem 0.5rem 0.5rem;
  width: 31.3% !important;
}
:root[data-theme="dark"] .tfa-list {
  background-color: $black-ter;
  border-bottom: 1px solid $grey-darker;
}

@media screen and (max-width: 1217px) {
  .tfa-list {
    width: 48% !important;
  }
}

@media screen and (max-width: 769px) {
  .tfa-list {
    border-radius: unset;
    text-align: inherit;
    margin: 0;
    max-width: none;
    width: auto !important;
  }
}

.tfa-container {
  align-items: center;
  display: flex;
  justify-content: left;
}

.tfa-grid .tfa-container {
  flex-direction: column;
  // padding: 0 1.5rem;
}

.tfa-list .tfa-container {
  flex-direction: row;
  padding: 0;
}

// .tfa-list .tfa-container > div:first-of-type {
//     padding: 0 0 0 0.5rem;
// }

// .tfa-list .tfa-container > div:last-of-type {
//     padding: 0 1rem 0 0;
// }

.tfa-cell {
  display: flex;
}

.tfa-grid .tfa-checkbox,
.tfa-grid .tfa-dots,
.tfa-grid .tfa-edit {
  align-items: center;
  padding: 0.5rem 0 0 0;
}

.tfa-grid .tfa-checkbox {
  padding: 0;
}

.tfa-list .tfa-checkbox,
.tfa-list .tfa-dots,
.tfa-list .tfa-edit {
  align-items: center;
  padding: 0
}

.tfa-list .tfa-dots {
  margin-left: 1.5rem;
}

.tfa-content {
  flex-grow: 1;
  overflow: hidden;
}

.tfa-content:focus-visible {
  outline: 1px solid $grey;
  border: none;
  outline-offset: 7px;
  border-radius: 3px;
}

.tfa-content:focus:not(:focus-visible) {
  outline: none;
}

.is-edit-mode .tfa-list .tfa-content {
  margin-right: 1rem;
}

.tfa-dots {
  cursor: grab;
}

.tfa-grid .is-checkradio[type="checkbox"]+label,
.tfa-grid .is-checkradio[type="radio"]+label {
  padding-left: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.tfa-text {
  display: block;
  // max-width: 300px;
  cursor: pointer;
}
:root[data-theme="dark"] .tfa-text {
  color: $white;
}

.tfa-container img {
  height: 0.75em;
  width: 0.75em;
  margin-right: .1em;
}

.import-icon {
  height: 1em;
  width: 1em;
  margin-right: 0.2em;
  vertical-align: sub;
}

.fullscreen-streamer {
  position: fixed;
  top: 7%;
  left: 0;
  width: 100%;
  height: 65%;
  padding: 2%;
}

/* Corner borders */
.overlay {
  background:
    linear-gradient(to right, white 1px, transparent 1px) 0 0,
    linear-gradient(to right, white 1px, transparent 1px) 0 100%,
    linear-gradient(to left, white 1px, transparent 1px) 100% 0,
    linear-gradient(to left, white 1px, transparent 1px) 100% 100%,
    linear-gradient(to bottom, white 1px, transparent 1px) 0 0,
    linear-gradient(to bottom, white 1px, transparent 1px) 100% 0,
    linear-gradient(to top, white 1px, transparent 1px) 0 100%,
    linear-gradient(to top, white 1px, transparent 1px) 100% 100%;

  background-repeat: no-repeat;
  background-size: 20px 20px;
}

.fullscreen-alert {
  position: fixed;
  top: 37.5vh;
  left: 0;
  width: 100%;
  padding: 0.75rem;
}

.fullscreen-footer {
  position: fixed;
  // top: calc(100vh - 8rem);
  bottom: 68px;
  left: 0;
  width: 100%;
  text-align: center;
}

.has-ellipsis {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.has-nowrap {
  white-space: nowrap;
}

.has-no-background {
  background: none !important;
}

.is-left-bordered-link,
.is-left-bordered-warning,
.is-left-bordered-danger {
  border: none;
  border-left-style: solid;
  border-left-width: 3px;
  padding-left: $size-normal;
}
.is-left-bordered-link {
  border-left-color: $link;
}
.is-left-bordered-warning {
  border-left-color: $warning;
}
.is-left-bordered-danger {
  border-left-color: $danger;
}

.add-icon-button {
  height: 64px;
  width: 64px;
  padding-top: calc(32px - 1rem);
  position: absolute;
  margin-left: -32px;
  z-index: 40;
}

.delete-icon-button {
  position: absolute;
  margin-left: 37px;
}

figure.no-icon {
  border: 1px dashed $black-bis;
}

.file-input {
  cursor: pointer;
}

:root[data-theme="dark"] .add-icon-button,
:root[data-theme="dark"] .add-icon-button:hover {
    color: $black-bis;
}

.dots {
  list-style: none;
  padding: 0;
}

.dots li {
  display: inline-block;
  margin: 0 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: hsl(348, 100%, 61%);
}

.dots.condensed {
  line-height: 0.9;
}

.dots.condensed li {
  margin: 0 2px;
  width: 3px;
  height: 3px;
}

.dots li[data-is-active]~li {
  background: $grey-light;
}
:root[data-theme="dark"] .dots li[data-is-active]~li {
  background: $black-bis;
}

.dots li:nth-child(-n+9) {
  background: hsl(48, 100%, 67%);
  /* yellow */
}

.dots li:nth-child(-n+6) {
  background: hsl(141, 71%, 48%);
  /* green */
}

.dots.off li {
  background: $grey-light;
}
:root[data-theme="dark"] .dots.off li {
  background: $black-bis;
}

// .dots li:nth-child(3n+2), .dots li:nth-child(3n+3) {
//     display:none;
// }

:root[data-theme="dark"] .input,
:root[data-theme="dark"] .select select,
:root[data-theme="dark"] .textarea {
  background-color: $grey-darker;
  border-color: $grey-dark;
  color: hsl(0, 0%, 100%);
}

:root[data-theme="dark"] .select select::placeholder,
:root[data-theme="dark"] .textarea::placeholder,
:root[data-theme="dark"] .input::placeholder {
  color: hsl(0, 0%, 48%);
}

.select select[disabled],
[disabled].textarea,
[disabled].input,
fieldset[disabled] .select select,
.select fieldset[disabled] select,
fieldset[disabled] .textarea,
fieldset[disabled] .input {
  border-color: $grey-lighter;
  background-color: $white;
  opacity: 0.5;
}
:root[data-theme="dark"] .select select[disabled],
:root[data-theme="dark"] [disabled].textarea,
:root[data-theme="dark"] [disabled].input,
:root[data-theme="dark"] fieldset[disabled] .select select,
:root[data-theme="dark"] .select fieldset[disabled] select,
:root[data-theme="dark"] fieldset[disabled] .textarea,
:root[data-theme="dark"] fieldset[disabled] .input {
  background-color: hsl(0, 0%, 10%);
  border-color: $grey-darker;
  box-shadow: none;
  color: $grey-darker;
}

:root[data-theme="dark"] .select select[disabled]::placeholder,
:root[data-theme="dark"] [disabled].textarea::placeholder,
:root[data-theme="dark"] [disabled].input::placeholder,
:root[data-theme="dark"] fieldset[disabled] .select select::placeholder,
:root[data-theme="dark"] .select fieldset[disabled] select::placeholder,
:root[data-theme="dark"] fieldset[disabled] .textarea::placeholder,
:root[data-theme="dark"] fieldset[disabled] .input::placeholder {
  color: $grey-darker;
}

.button.has-line-height {
  height: inherit !important;
}

.button.has-line-height span {
  display: inline-block;
  line-height: 1rem;
}

.button.is-multiline {
  min-height: 2.25em;
  white-space: unset;
  height: auto;
  flex-direction: column;
}
.button.is-multiline span {
  color: $grey;
}
.button.is-link.is-multiline span {
  color: $grey-lighter;
}

.button.is-dark.field-lock,
.button.is-dark.field-unlock {
  color: hsl(0, 0%, 48%);
}

.button.is-dark.field-unlock {
  border-color: hsl(0, 0%, 29%);
  border-left: none;
}

.button.is-like-text {
  line-height: inherit !important;
  padding: 0 !important;
  margin: 0 !important;
  height: auto;
  text-decoration: none;
}

.button.copy-text:hover,
.button.copy-text:active,
.button.copy-text:focus,
.button.copy-text:focus-visible,
.button.copy-text:focus-within,
.button.is-like-text:hover,
.button.is-like-text:active,
.button.is-like-text:focus,
.button.is-like-text:focus-visible,
.button.is-like-text:focus-within {
  background: inherit;
  color: inherit;
}

.button:focus-visible,
.button.is-focused,
.file[role=button]:focus-visible {
  border-color: transparent;
  outline-offset: 3px;
  outline-style: solid;
  outline-width: 2px;
}

.button:focus:not(:focus-visible),
.file[role=button]:focus:not(:focus-visible) {
  outline: none;
}

.button:focus:not(:active),
.button.is-focused:not(:active),
.button.is-white:focus:not(:active),
.button.is-white.is-focused:not(:active),
.button.is-light:focus:not(:active),
.button.is-light.is-focused:not(:active),
.button.is-dark:focus:not(:active),
.button.is-dark.is-focused:not(:active),
.button.is-black:focus:not(:active),
.button.is-black.is-focused:not(:active),
.button.is-text:focus:not(:active),
.button.is-text.is-focused:not(:active),
.button.is-ghost:focus:not(:active),
.button.is-ghost.is-focused:not(:active),
.button.is-primary:focus:not(:active),
.button.is-primary.is-focused:not(:active),
.button.is-link:focus:not(:active),
.button.is-link.is-focused:not(:active),
.button.is-info:focus:not(:active),
.button.is-info.is-focused:not(:active),
.button.is-success:focus:not(:active),
.button.is-success.is-focused:not(:active),
.button.is-warning:focus:not(:active),
.button.is-warning.is-focused:not(:active),
.button.is-danger:focus:not(:active),
.button.is-danger.is-focused:not(:active) {
  box-shadow: none;
}

.button.is-white:focus,
.button.is-white:focus-visible,
.button.is-white.is-focused {
  outline-color: $white;
}

.button.is-light:focus,
.button.is-light:focus-visible,
.button.is-light.is-focused {
  outline-color: $grey-lightest;
}

.button.is-dark:focus,
.button.is-dark:focus-visible,
.button.is-dark.is-focused,
.file[role=button].is-dark:focus,
.file[role=button].is-dark:focus-visible {
  outline-color: $dark;
}

.button.is-black:focus,
.button.is-black:focus-visible,
.button.is-black.is-focused,
.file[role=button].is-black:focus,
.file[role=button].is-black:focus-visible {
  outline-color: $black;
}

.button.is-text:focus,
.button.is-text:focus-visible,
.button.is-text.is-focused {
  outline-color: $text;
}

.button.is-ghost:focus,
.button.is-ghost:focus-visible,
.button.is-ghost.is-focused {
  outline-color: $text;
}

.button.is-primary:focus,
.button.is-primary:focus-visible,
.button.is-primary.is-focused {
  outline-color: $primary;
}

.button.is-link:focus,
.button.is-link:focus-visible,
.button.is-link.is-focused {
  outline-color: $link;
}

.button.is-info:focus,
.button.is-info:focus-visible,
.button.is-info.is-focused {
  outline-color: $info;
}

.button.is-success:focus,
.button.is-success:focus-visible,
.button.is-success.is-focused {
  outline-color: $success;
}

.button.is-warning:focus,
.button.is-warning:focus-visible,
.button.is-warning.is-focused {
  outline-color: $warning;
}

.button.is-danger:focus,
.button.is-danger:focus-visible,
.button.is-danger.is-focused {
  outline-color: $danger;
}

button.is-main {
  box-shadow: $button-focus-box-shadow-size $button-focus-box-shadow-color;
}

.button.has-normal-radius {
  border-radius: $radius !important;
}

.file[role=button]:focus-visible {
  border-radius: $radius;
}

.file[role=button].is-small:focus-visible {
  border-radius: $radius-small;
}

.tag-button:focus-visible {
  border-color: transparent;
  border-radius: 3px;
  outline-width: 1px;
  outline-style: solid;
  outline-offset: 3px;
}

.tag-button:focus:not(:focus-visible) {
  outline: none;
}

.tag-button-link:focus-visible {
  outline-color: $link;
}

.tag-button-danger:focus-visible {
  outline-color: $danger;
}

.clear-selection {
  vertical-align: text-bottom;
  ;
}

.clear-selection:focus-visible {
  border-color: transparent;
  outline-offset: 1px;
  outline: 2px solid $text;
}

.clear-selection:focus:not(:focus-visible) {
  outline: none;
}

a:focus-visible {
  outline-offset: 2px;
  border-radius: 3px;
  outline: 1px dashed $link;
}

a:focus:not(:focus-visible) {
  outline: none;
}

a.has-text-black-bis:focus,
a.has-text-black-bis:focus-visible {
  outline-color: $black-bis;
}

a.has-text-black-ter:focus,
a.has-text-black-ter:focus-visible {
  outline-color: $black-ter;
}

a.has-text-grey-darker:focus,
a.has-text-grey-darker:focus-visible {
  outline-color: $grey-darker;
}

a.has-text-grey-dark:focus,
a.has-text-grey-dark:focus-visible {
  outline-color: $grey-dark;
}

a.has-text-grey:focus,
a.has-text-grey:focus-visible {
  outline-color: $grey;
}

a.has-text-grey-light:focus,
a.has-text-grey-light:focus-visible {
  outline-color: $grey-light;
}

a.has-text-grey-lighter:focus,
a.has-text-grey-lighter:focus-visible {
  outline-color: $grey-lighter;
}

a.has-text-white-ter:focus,
a.has-text-white-ter:focus-visible {
  outline-color: $white-ter;
}

a.has-text-white-bis:focus,
a.has-text-white-bis:focus-visible {
  outline-color: $white-bis;
}

a.tag.is-dark.is-rounded:focus-visible {
  outline-offset: 1px;
  outline: 1px solid $grey;
}

a.tag.is-dark.is-rounded:focus:not(:focus-visible) {
  outline: none;
}

button.button.tag.is-white,
.tfa-cell .tag.is-white {
  border-color: $input-border-color;
}
.tfa-cell .tag.is-white {
  border-style: solid;
  border-width: $control-border-width;
}

.tabs a:focus-visible {
  outline-offset: -4px;
}

.tabs a:focus:not(:focus-visible) {
  outline: none;
}

.control.has-icons-right>span.icon:focus-visible,
.control.has-icons-left>span.icon:focus-visible {
  outline: none;
  border: 1px solid $input-focus-border-color;
  box-shadow: $input-focus-box-shadow-size $input-focus-box-shadow-color;
}

.control.has-icons-right>span.icon:focus:not(:focus-visible),
.control.has-icons-left>span.icon:focus:not(:focus-visible) {
  outline: none;
}

.is-checkradio[type="checkbox"]+label:focus,
.is-checkradio[type="checkbox"]+label:focus-visible {
  outline: none;
  border: none;
}

.is-checkradio[type="checkbox"]+label:focus::before,
.is-checkradio[type="checkbox"]+label:focus-visible::before {
  outline-offset: 2px;
  outline: 1px solid $dark;
}

:root[data-theme="dark"] .is-checkradio[type="checkbox"]+label:focus::before,
:root[data-theme="dark"] .is-checkradio[type="checkbox"]+label:focus-visible::before {
  outline: 1px solid $grey-light;
}

.is-checkradio[type="checkbox"]+label::before {
  border-color: $grey-light;
  border-width: 1px !important;
  background-color: $white;
}
.tfa-checkbox .is-checkradio[type="checkbox"]+label::before {
  border-color: $grey;
}
:root[data-theme="dark"] .is-checkradio[type="checkbox"]+label::before {
  border-color: $grey;
  background: none;
}

.is-checkradio[type="checkbox"]:checked + label::before {
  border-color: $grey;
}
:root[data-theme="dark"] .is-checkradio[type="checkbox"]:checked + label::before {
  border-color: $grey-lighter;
}

.label {
  color: hsl(0, 0%, 48%);
}

.select select:focus,
.select select:focus-visible {
  outline: 2px solid $grey-dark;
  outline-offset: 3px;
  box-shadow: none;
}

:root[data-theme="dark"] .select select:focus,
:root[data-theme="dark"] .select select:focus-visible {
  outline: 2px solid $grey-dark;
}

.is-underscored {
  border-bottom: 1px solid hsl(0, 0%, 29%);
  height: 0.6rem;
  width: 0.6rem;
  display: inline-block;
  margin-right: 5px;
}

.is-underscored.is-dot {
  border: none;
  border-radius: 50%;
  background-color: $success;
}

:root[data-theme="dark"] .is-underscored.is-dot {
  background-color: $success-dark;
}

.is-mid-width-field {
  width: 50% !important;
}

.is-half-width-field {
  width: 50% !important;
}

.is-third-width-field {
  width: 33% !important;
}

.is-toggle.buttons,
.is-toggle.buttons a.button {
  margin-bottom: 0 !important;
}

.has-uppercased-button .is-toggle {
  text-transform: uppercase !important;
}

:root[data-theme="dark"] .control.has-icons-left .icon,
:root[data-theme="dark"] .control.has-icons-right .icon {
  color: inherit;
}

:root[data-theme="dark"].is-search {
  border-color: $grey-darker;
}

.modal .field.is-grouped:last-child {
  justify-content: center;
  padding-top: 40px;
}

footer.main {
  padding: 5px 0 25px 0;
  bottom: 0;
  left: 0;
  right: 0;
  position: fixed;
  z-index: 30;
}
@supports (-webkit-touch-callout: none) {
  @media (display-mode: standalone) {
    footer.main {
      padding-bottom: env(safe-area-inset-bottom);
    }
  }
}

footer.main .field.is-grouped {
  justify-content: center;
}

footer.menu {
  box-shadow: 0px 3px 10px 5px rgba(0,0,0,0.05);
}

:root[data-theme="dark"] footer.menu {
  box-shadow: 0px 3px 10px 5px rgba(0,0,0,0.25);
}

.notification {
  padding: 0.4rem 1.5rem;
}

@supports (padding-top: env(safe-area-inset-top)) {
  .notification-banner {
    --safe-area-inset-top: env(safe-area-inset-top);
    padding-top: calc(0.4rem + var(--safe-area-inset-top));
  }
}

@supports (padding-top: constant(safe-area-inset-top)) {
  .notification-banner {
    --safe-area-inset-top: constant(safe-area-inset-top);
    padding-top: calc(0.4rem + var(--safe-area-inset-top));
  }
}

.notification .notification-content {
  text-align: center;
}

.options-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0 1rem 0.5rem;
  z-index: 1000;
}

@supports (padding-top: env(safe-area-inset-top)) {
  .options-header {
    padding-top: env(safe-area-inset-top);
  }
}

@supports (padding-top: constant(safe-area-inset-top)) {
  .options-header {
    padding-top: constant(safe-area-inset-top);
  }
}

.options-tabs {
  margin-top: 80px;
}

.file .tag {
  margin-left: 0.75rem;
}

.icon-preview {
  height: 24px;
  width: 24px;
}

.field.with-offset {
  padding-top: 1.5rem;
}

.field.is-grouped:last-child {
  padding-top: 0.75rem;
}

.help-for-file {
  margin-top: -0.50rem;
  margin-bottom: 0.75rem;
}

.error-message > p {
  margin-bottom: 0.5rem;
}

.quick-uploader {
  flex-direction: column
}

.quick-uploader-header {
  padding-top: 7vh;
  padding-bottom: 7vh;
}

.preview {
  margin-top: 20vh;
}

.quick-uploader-button {
  height: 256px;
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 2rem;
}

.quick-uploader-centerer {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  height: 256px;
  width: 100%;
}

.quick-uploader-button::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  opacity: 0.1;
  height: 256px;
  background-repeat: no-repeat;
  background-position: top left 50%;
  background-image: url('');
}
:root[data-theme="dark"] quick-uploader-button::before {
  opacity: 0.05;
}

.error-404,
.error-generic,
.too-bad {
  display: block;
  margin-bottom: 1rem;
  opacity: 0.1;
  height: 256px;
  background-repeat: no-repeat;
  background-position: top left 50%;
}

.error-generic,
.too-bad {
  background-image: url('');
}

.error-404 {
  background-image: url('');
}

@media screen and (max-width: 769px) {
  .too-bad {
    height: 128px;
    background-image: url('');
  }
}

.pat {
  overflow-wrap: break-word;
}

.release-flag {
  height: 0.5rem;
  width: 0.5rem;
  display: inline-block;
  border: none;
  border-radius: 50%;
  background-color: $warning;
  vertical-align: middle;
  margin: 0 5px;
  box-shadow: 0px 0px 2px black;
}
:root[data-theme="dark"] .release-flag {
  background-color: $warning;
  box-shadow: none;
}

.about-logo {
  height: 32px;
  filter: invert(1);
}
:root[data-theme="dark"] .about-logo {
  filter: none;
}

// Themed Spinner
.spinner-container {
    background-color: $white-ter;
    .spinner {
        color: $dark;
    }
}
:root[data-theme="dark"] .spinner-container {
    background-color: $black-ter;
    .spinner {
        color: $light;
    }
}
.spinner-overlay-container {
    background-color: none;
}

.fadeInOut-enter-active {
  animation: fadeIn 500ms
}
.fadeInOut-leave-active {
  animation: fadeOut 500ms
}


.popLater-enter-active {
  transition: opacity .2s linear .5s
}
.popLater-enter, .popLater-leave-active, .popLater-leave-to {
  opacity: 0;
}


.tfa-grid .slideCheckbox-enter-active {
  animation: enterFromTop 500ms
}

.tfa-grid .slideCheckbox-enter-active+.tfa-content {
  animation: addTopOffset 500ms
}

.tfa-grid .slideCheckbox-leave-active {
  animation: leaveToTop 500ms
}

.tfa-grid .slideCheckbox-leave-active+.tfa-content {
  animation: removeTopOffset 500ms
}

// @media screen and (max-width: 768px) {
.tfa-list .slideCheckbox-enter-active {
  animation: enterFromLeft 500ms
}

.tfa-list .slideCheckbox-enter-active+.tfa-content {
  animation: addLeftOffset 500ms
}

.tfa-list .slideCheckbox-leave-active {
  animation: leaveToLeft 500ms
}

.tfa-list .slideCheckbox-leave-active+.tfa-content {
  animation: removeLeftOffset 500ms
}

// }

/*FadeInOut*/

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media screen and (max-width: 768px) {
  @keyframes fadeIn {
    from {
      opacity: 0;
    }

    75% {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

/*Enter from left*/
@keyframes enterFromLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes addLeftOffset {
  from {
    transform: translateX(-2.375rem);
  }

  to {
    transform: translateX(0);
  }
}

/*Enter from top*/
@keyframes enterFromTop {
  from {
    transform: translateY(-50%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes addTopOffset {
  from {
    transform: translateY(-2rem);
  }

  to {
    transform: translateY(0);
  }
}

/*Leave from left*/
@keyframes leaveToLeft {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
    opacity: 0;
  }
}

@keyframes removeLeftOffset {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-2.375rem);
  }
}

/*Leave from top*/
@keyframes leaveToTop {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-50%);
    opacity: 0;
  }
}

@keyframes removeTopOffset {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-2rem);
  }
}

.is-opacity-0 {
  opacity: 0;
}
.is-opacity-1 {
  opacity: 0.1;
}
.is-opacity-2 {
  opacity: 0.2;
}
.is-opacity-3 {
  opacity: 0.3;
}
.is-opacity-4 {
  opacity: 0.4;
}
.is-opacity-5 {
  opacity: 0.5;
}
.is-opacity-6 {
  opacity: 0.6;
}
.is-opacity-7 {
  opacity: 0.7;
}
.is-opacity-8 {
  opacity: 0.8;
}
.is-opacity-9 {
  opacity: 0.9;
}
.is-opacity-10 {
  opacity: 1;
}

:root[data-theme="dark"] .table {
	background-color: $black-ter;
	color: $white-bis;
}
:root[data-theme="dark"] .table th,
:root[data-theme="dark"] .table thead th {
	color: $grey;
}
:root[data-theme="dark"] .table td,
:root[data-theme="dark"] .table th {
	border: 1px solid $grey-darker;
	border-width: 0 0 1px;
}

.card {
	background-color: none;
	border: 1px solid $grey-lighter;
  box-shadow: none;
}
:root[data-theme="dark"] .card {
	background-color: $black-ter;
	border: 1px solid $grey-darker;
}

.card-footer {
	border-top: 1px solid $grey-lighter;
}
:root[data-theme="dark"] .card-footer {
	border-top: 1px solid $grey-darker;
}

.card-footer-item:not(:last-child) {
	border-right: 1px solid $grey-lighter;
}
:root[data-theme="dark"] .card-footer-item:not(:last-child) {
	border-right: 1px solid $grey-darker;
}

.addressbar {
  padding: 6px;
  border: 1px solid $grey-light;
  background-color: $white;
  border-radius: $radius;
  position: relative;
}
:root[data-theme="dark"] .addressbar {
  background-color: $black-bis;
  border: none;
}

.circled::before {
  display: block;
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 2px solid $danger;
  left: 25px;
  top: 4px;
  width: 29px;
  height: 29px;
}

.light-or-darker {
  color: $grey-darker;
}
:root[data-theme="dark"] .light-or-darker {
  color: $grey-light;
}

.width-1-5x {
  width: 1.5em;
}